package com.edu.bean;

public class Score {
    private int scoreId;

    private String sName;

    private int stuId;

    private double score;

    public Score() {
    }

    public Score(String sName, int stuId, double score) {
        this.sName = sName;
        this.stuId = stuId;
        this.score = score;
    }

    public int getScoreId() {
        return scoreId;
    }

    public void setScoreId(int scoreId) {
        this.scoreId = scoreId;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Score{" +
                "scoreId=" + scoreId +
                ", sName='" + sName + '\'' +
                ", stuId=" + stuId +
                ", score=" + score +
                '}';
    }
}
